package cn.glenn.egmvc1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class CartController {
    @RequestMapping("/v1/cart/add")
    @ResponseBody
    public String addCart() {
        return "添加成功";
    }

    @RequestMapping("v1/cart/del")
    @ResponseBody
    public String delCart() {
        return "删除成功";
    }
}
